package com.mzkj.wanjulaile.mobile.api.modules.toy.service;


import com.github.pagehelper.Page;
import com.mzkj.wanjulaile.mobile.api.modules.toy.entity.Toy;
import com.mzkj.wanjulaile.mobile.api.modules.toy.entity.ToyCategory;

import java.util.List;

public interface ToyService{

     Toy get(String id);

      List<Toy> findAllList(Toy toy);

     List<Toy> getNewProduct(int pageSize);

     List<Toy> getHomeToyList(Toy toy);

     Toy getById(Toy toy);

	 List<Toy> getByIds(List<String> ids);

	 List<Toy> getListByType(Toy toy);

     Toy getToyByCode(Toy toy);

     int getAllCount(Toy toy);
}